package com.huangpuweb.api.model;

import org.springframework.jdbc.core.RowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

public class SysHpLjPublicVideoRowMapper implements RowMapper<SysHpLjPublicVideo>{



	@Override
	public SysHpLjPublicVideo mapRow(ResultSet rs, int rowNum) throws SQLException {
		SysHpLjPublicVideo  lj= new SysHpLjPublicVideo();
		lj.setNumber(rs.getString("number"));
		lj.setCamera_id(rs.getString("camera_id"));
		lj.setDevice_name(rs.getString("device_name"));
		lj.setLng(rs.getString("lng"));
		lj.setLat(rs.getString("lat"));
		return lj;
	}

}
